Autogenerated HTML docs for v1.5.3-rc2-22-g69a9b
diff --git a/config.txt b/config.txt index d0e9a17..a850d55 100644 --- a/config.txt +++ b/config.txt
@@ -281,6 +281,14 @@ of files which are not meant to be tracked. See gitlink:gitignore[5]. +core.editor:: + Commands such as `commit` and `tag` that lets you edit + messages by lauching an editor uses the value of this + variable when it is set, and the environment variable + `GIT_EDITOR` is not set. The order of preference is + `GIT_EDITOR` environment, `core.editor`, `EDITOR` and + `VISUAL` environment variables and then finally `vi`. + core.pager:: The command that git will use to paginate output. Can be overridden with the `GIT_PAGER` environment variable.
diff --git a/git-commit.html b/git-commit.html index 0fac2b9..f528785 100644 --- a/git-commit.html +++ b/git-commit.html
@@ -657,10 +657,12 @@ object level, because re-coding to UTF-8 is not necessarily a reversible operation.</p> </div> -<h2>ENVIRONMENT VARIABLES</h2> +<h2>ENVIRONMENT AND CONFIGURATION VARIABLES</h2> <div class="sectionbody"> -<p>The command specified by either the VISUAL or EDITOR environment -variables is used to edit the commit log message.</p> +<p>The editor used to edit the commit log message will be chosen from the +GIT_EDITOR environment variable, the core.editor configuration variable, the +VISUAL environment variable, or the EDITOR environment variable (in that +order).</p> </div> <h2>HOOKS</h2> <div class="sectionbody"> @@ -687,7 +689,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 19-Jul-2007 02:09:35 UTC +Last updated 20-Jul-2007 10:27:37 UTC </div> </div> </body>
diff --git a/git-commit.txt b/git-commit.txt index f96142f..8e0e7e2 100644 --- a/git-commit.txt +++ b/git-commit.txt
@@ -244,10 +244,12 @@ include::i18n.txt[] -ENVIRONMENT VARIABLES ---------------------- -The command specified by either the VISUAL or EDITOR environment -variables is used to edit the commit log message. +ENVIRONMENT AND CONFIGURATION VARIABLES +--------------------------------------- +The editor used to edit the commit log message will be chosen from the +GIT_EDITOR environment variable, the core.editor configuration variable, the +VISUAL environment variable, or the EDITOR environment variable (in that +order). HOOKS -----
diff --git a/git-config.html b/git-config.html index d549cbd..65d4bbd 100644 --- a/git-config.html +++ b/git-config.html
@@ -1012,6 +1012,19 @@ </p> </dd> <dt> +core.editor +</dt> +<dd> +<p> + Commands such as <tt>commit</tt> and <tt>tag</tt> that lets you edit + messages by lauching an editor uses the value of this + variable when it is set, and the environment variable + <tt>GIT_EDITOR</tt> is not set. The order of preference is + <tt>GIT_EDITOR</tt> environment, <tt>core.editor</tt>, <tt>EDITOR</tt> and + <tt>VISUAL</tt> environment variables and then finally <tt>vi</tt>. +</p> +</dd> +<dt> core.pager </dt> <dd> @@ -1851,7 +1864,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 19-Jul-2007 02:09:35 UTC +Last updated 20-Jul-2007 10:27:37 UTC </div> </div> </body>
diff --git a/git-send-email.html b/git-send-email.html index 1b54a8b..21e221c 100644 --- a/git-send-email.html +++ b/git-send-email.html
@@ -322,8 +322,8 @@ </dt> <dd> <p> - Use $EDITOR to edit an introductory message for the - patch series. + Use $GIT_EDITOR, core.editor, $VISUAL, or $EDITOR to edit an + introductory message for the patch series. </p> </dd> <dt> @@ -512,7 +512,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 19-Jul-2007 02:09:53 UTC +Last updated 20-Jul-2007 10:27:38 UTC </div> </div> </body>
diff --git a/git-send-email.txt b/git-send-email.txt index 293686c..d243ed1 100644 --- a/git-send-email.txt +++ b/git-send-email.txt
@@ -44,8 +44,8 @@ value; if that is unspecified, default to --chain-reply-to. --compose:: - Use $EDITOR to edit an introductory message for the - patch series. + Use $GIT_EDITOR, core.editor, $VISUAL, or $EDITOR to edit an + introductory message for the patch series. --from:: Specify the sender of the emails. This will default to
diff --git a/git.html b/git.html index fcf654e..373c69f 100644 --- a/git.html +++ b/git.html
@@ -1813,7 +1813,9 @@ </dt> <dd> <p> - This environment variable overrides <tt>$PAGER</tt>. + This environment variable overrides <tt>$PAGER</tt>. If it is set + to an empty string or to the value "cat", git will not launch + a pager. </p> </dd> <dt> @@ -2408,7 +2410,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 19-Jul-2007 02:10:01 UTC +Last updated 20-Jul-2007 10:27:39 UTC </div> </div> </body>
diff --git a/git.txt b/git.txt index 3fbfd45..4c4d174 100644 --- a/git.txt +++ b/git.txt
@@ -417,7 +417,9 @@ See gitlink:git-merge[1] 'GIT_PAGER':: - This environment variable overrides `$PAGER`. + This environment variable overrides `$PAGER`. If it is set + to an empty string or to the value "cat", git will not launch + a pager. 'GIT_FLUSH':: If this environment variable is set to "1", then commands such